package com.zhengyisky.mapper;

import com.zhengyisky.pojo.TbUnit;
import com.zhengyisky.pojo.TbUnitExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbUnitMapper {
    int countByExample(TbUnitExample example);

    int deleteByExample(TbUnitExample example);

    int deleteByPrimaryKey(Integer unitId);

    int insert(TbUnit record);

    int insertSelective(TbUnit record);

    List<TbUnit> selectByExample(TbUnitExample example);

    TbUnit selectByPrimaryKey(Integer unitId);

    int updateByExampleSelective(@Param("record") TbUnit record, @Param("example") TbUnitExample example);

    int updateByExample(@Param("record") TbUnit record, @Param("example") TbUnitExample example);

    int updateByPrimaryKeySelective(TbUnit record);

    int updateByPrimaryKey(TbUnit record);
}